#import <Foundation/Foundation.h>

@interface SampleClass: NSObject
- (void)sampleMethod;
@end

@implementation SampleClass
- (void)sampleMethod {
  NSLog(@"hello sample method from sampleclass");
  }
@end

int main()
{
     NSAutoreleasePool *pool;
   
   pool = [[NSAutoreleasePool alloc] init];
  SampleClass *sampleClass = [[SampleClass alloc] init];
  [sampleClass sampleMethod];
 RELEASE(pool);
  return 0;
}
